import math
import numpy as np

'''
sigmod函数
'''
def sigmod(y_model):
    sigmod_y_model=list()
    for ele in y_model:
        sigmod_y_model.append(1 / (1 + math.exp(-ele)))
    return np.array(sigmod_y_model)

print(-math.log(0,math.e))